package com.hl.sfzy.mapper.course;

import com.hl.sfzy.entity.course.CourseVideo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author fxy
* @description 针对表【course_video】的数据库操作Mapper
* @createDate 2024-09-09 20:43:16
* @Entity com.hl.sfzy.entity.course.CourseVideo
*/
@Mapper
@Repository
public interface CourseVideoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(CourseVideo record);

    int insertSelective(CourseVideo record);

    CourseVideo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CourseVideo record);

    int updateByPrimaryKey(CourseVideo record);

    List<CourseVideo> selectByCourseId(Long id);

}
